//
//  ServiceParametModel.m
//  ERP
//
//  Created by goldeney on 15/1/8.
//  Copyright (c) 2015年 ShangHai Goldeneye Techonology Co.,Ltd. All rights reserved.
//

#import "ServiceParametModel.h"

@interface ServiceParametModel()

@property (nonatomic,strong) NSMutableArray *parameterArray;

@end

@implementation ServiceParametModel

- (id)init
{
    self = [super init];
    if (self) {
        self.parameterArray = [[NSMutableArray alloc] init];
    }
    return self;
}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if(!key) return;
    if(!value) value = @"";
    
    NSDictionary *dictionary = [NSDictionary dictionaryWithObject:value forKey:key];
    [self.parameterArray addObject:dictionary];
}

- (NSMutableArray*)getValueArray
{
    return self.parameterArray;
}

@end
